Add sample app CI validation for PROJ library installation#2
Merged
michalpelka merged 5 commits intomainfrom Feb 19, 2026
Merged
Add sample app CI validation for PROJ library installation#2michalpelka merged 5 commits intomainfrom
michalpelka merged 5 commits intomainfrom
Conversation
Collaborator
|
@copilot agreed with plan, proceed. |
Co-authored-by: michalpelka <3209244+michalpelka@users.noreply.github.com>
Co-authored-by: michalpelka <3209244+michalpelka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add CI step to build sample app for WGS to UTM conversion
Add sample app CI validation for PROJ library installation
Feb 16, 2026
Collaborator
|
Ok, tiff is statically linked to proj_9_3.dll. |
7cb79d6 to
0ad00b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a CI step to build and run a sample application that validates the installed PROJ library works correctly. The sample performs a WGS84→UTM transformation and is packaged as a second artifact.
Changes
sample_app/main.cpp- C++ application demonstrating coordinate transformation (Berlin: WGS84 → UTM Zone 33N). Validates output is within expected range and returns appropriate exit codes.sample_app/CMakeLists.txt- Build configuration usingfind_package(PROJ REQUIRED CONFIG)to link against installed library.build_sample.bat- Build script that configures, builds, tests, and packages the sample app using theinstall_projoutput from the main build..github/workflows/build_win.yml- Extended workflow to build sample app and upload assample-app-windowsartifact (executable + DLLs).Example Usage
The CI now produces two artifacts: the PROJ library installation and a working application that validates it.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.